package tech.aistar.corejava.day04;

import java.util.Arrays;

/**
 * Created by 李雨昂 on 2019/7/19.
 */
public class SortDemoDetails {
    public static void main(String[] args) {
        String arr[] = {"2","1","12"};
        Arrays.sort(arr);
        System.out.println(Arrays.toString(arr));

        for (int i = 0; i < arr.length; i++) {
            System.out.println(arr[i]);
        }
        
        String strs = Arrays.toString(arr);
        System.out.println("strs = " + strs);

    }
}
